package br.com.cast.scc.pages;


import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.request.mapper.parameter.PageParameters;

import br.com.cast.scc.pages.veiculos.ConsultarVeiculoIndexPage;

public class BasePage extends WebPage {
	private static final long serialVersionUID = 1L;

	public BasePage(final PageParameters parameters) {
		super(parameters);
		
		add(new Link("manterVeiculo"){

			private static final long serialVersionUID = 1L;

			@Override
			public void onClick() {				
				setResponsePage(new ConsultarVeiculoIndexPage(parameters));
			}
			
		});

    }
}
